﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GWB.Core
{
    public class PageInput
    {
        private int _pageSize;

        private int _current;



        public int PageSize
        {
            get
            {
                return _pageSize <= 0 ? 10 : _pageSize;
            }
            set
            {
                _pageSize = value;
            }
        }
        public int Current
        {
            get
            {
                return _current <= 0 ? 1 : _current;
            }
            set
            {
                _current = value;
            }
        }
    }
}
